home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 201-225 / disk_220 / dnet / readme < prev    next >
Text File  |  1992-05-06  |  5KB  |  148 lines

  1.  
  2.  
  3.                DNET V2.00 UNIX SIDE
  4.  
  5.                BSD4.2/4.3 compatible
  6.                note: 8 bit connection required to run dnet,
  7.                 which isn't always true if talking to the unix
  8.                 box through a port selector or terminal
  9.                 concentrator.
  10.  
  11.  
  12.  
  13.     DNET (c)Copyright 1987-1989 Matthew Dillon, All Rights Reserved
  14.  
  15.     Matthew Dillon
  16.     891 Regal Rd
  17.     Berkeley, Ca. 94708
  18.     USA
  19.  
  20.     ...!ihnp4!ucbvax!dillon     USENET
  21.     dillon@ucbvax.Berkeley.edu    ARPANET
  22.     ucbvax.berkeley.edu pub/amiga    ARPANET-FTP
  23.  
  24.                 UNIX SETUP
  25.  
  26.     The directory structure must remain intact.  simply say MAKE
  27.     in the main directory and it ought to compile.    There might be
  28.     minor problems depending on how compatible your UNIX is with
  29.     BSD4.3 UNIX ..    I have successfully compiled DNet on the following
  30.     machines:
  31.  
  32.             Dec Vax 7xx
  33.             Sun 3
  34.             Sequent
  35.  
  36.     (1) Create a directory.  For example, ~/.DNET   WARNING!  This
  37.         directory must be on a local partition.  DNET uses a unix
  38.         domain socket and these do not work over network fileservers.
  39.  
  40.     (2) Modify your .cshrc to add the following line:
  41.  
  42.         setenv DNETDIR  ~/.DNET/
  43.  
  44.         (or wherever you put it.  NOTE! You MUST HAVE THE TRAILING
  45.          SLASH!)
  46.  
  47.     (3) All binaries are usually kept in dnet.unix/bin, add this
  48.         directory to your path (in your .cshrc) so DNet can find
  49.         the clients.
  50.  
  51.     (4) Place the file 'dnet.servers' in $DNETDIR.  Modify the file
  52.         according to your home directory and where you have put the
  53.         servers (usually in dnet.unix/bin).  USE ABSOLUTE PATHS,
  54.         DNET.SERVERS DOES NOT UNDERSTAND ~.
  55.  
  56.     NOTE: You may want to chmod $DNETDIR 700 to disallow any
  57.     unauthorized access to the network.
  58.  
  59.  
  60.                  DIALING UP FROM AN AMIGA
  61.  
  62.     Follow the installation instructions for the Amiga side.  When
  63.     you dial up the UNIX system you will eventually get a prompt.
  64.     NOTE!  DNET normally uses 7 bit - even parity for dialing up,
  65.     then switches to 8 bit no parity for the protocol.  Sometimes
  66.     the modem or port selector will switch into 7 bit + parity mode
  67.     and NOT SWITCH OUT.  For this reason, you might want to use the
  68.     -8 option for the Amiga side of DNET (read the docs in the Amiga
  69.     section).
  70.  
  71.     From the DNET window's CSH prompt, start the protocol with:
  72.  
  73.     % dnet
  74.  
  75.     That was easy.    The DNet window should go away and an FTERM window
  76.     should open.  This does not mean success!  If the FTERM window
  77.     closes again with the message "unable to connect", it was unable
  78.     to connect.  There are several possibilities:
  79.  
  80.     (a) You do not have an 8 bit connection from your amiga to the
  81.         UNIX host (DNet must be able to send and receive all 256
  82.         character codes).
  83.  
  84.     (b) You did not setup the DNETDIR enviroment variable properly
  85.  
  86.     (c) You did not copy dnet.servers into $DNETIDR
  87.  
  88.     (d) The absolute file path in dnet.servers for server #8192 (that
  89.         FTerm tires to connect to) is not correct.
  90.  
  91.                     KILLING DNET
  92.  
  93.     In most cases simply turning off the modem will suffice.  You can
  94.     kill dnet more cleanly with the following sequence:
  95.  
  96.     (1) From an Amiga CLI, run the QuitDnet command.  This will kill
  97.         the packet protocol and cause the remote DNet to exit.
  98.  
  99.     (2) From an Amiga CLI, BREAK the protocol process.  You should get
  100.         the original (small) DNet window and the original login shell.
  101.         If you get the DNet window but not the shell (you can't type),
  102.         the protocol may still be running on the other end, in which
  103.         case you forgot to QuitDnet or it didn't work for some
  104.         unknown reason.  Restart the protocol w/ the appropriate
  105.         menu option and try again.
  106.  
  107.     (3) logout normally and close the DNet window.  Turn off your
  108.         modem.
  109.  
  110.                  HANGING SERVER PROCESSES
  111.  
  112.     The UNIX side servers are normally left running when the protocol
  113.     dies.  These are very very very small and take 0 CPU (they are
  114.     simply waiting for connections).  These servers will still be
  115.     there when you log in again and DNet will use them.
  116.  
  117.     You can kill UNIX side servers at any time.
  118.  
  119.     Many of the same clients and servers exist on the UNIX end as
  120.     on the Amiga end.  The UNIX end is missing several.  The UNIX
  121.     end implements two commands called dsoc and draw which can be
  122.     used to connect to (in cooked or raw tty mode) specific servers
  123.     (by port #) on the Amiga side.  For example, to connect to the
  124.     printer server on the amiga side:
  125.  
  126.     % dsoc 8198
  127.     This is a test
  128.     ^D
  129.     %
  130.  
  131.     Dumps to PRT: on the Amiga "This is a test"  Gee Wiz!
  132.  
  133.                 SECURITY W/ UNIX
  134.  
  135.     DNet will be as secure as your account, assuming you chmod DNETDIR
  136.     700 (so nobody else has access to the unix domain sockets).  From
  137.     Home, I usually RUN DNET -X , login, start the protocol, and leave
  138.     it running all day.
  139.  
  140.     The -X option turns of security (sets all security levels to 9),
  141.     thus allowing me to drive to the university and at any time from
  142.     my UNIX account do a getfiles or putfiles from and to my Amiga.
  143.  
  144.     Refer to the amiga side documentation for more information.
  145.  
  146.  
  147.  
  148.